package com.atguigu.gulimall.ware.service;

import com.atguigu.gulimall.ware.vo.PurchaseDoneVo;
import com.atguigu.gulimall.ware.vo.PurchaseVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author chao
 * @email 2252439148@qq.com
 * @date 2022-12-24 15:56:40
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils queryPageUnReceive(Map<String, Object> params);

    void merge(PurchaseVo purchaseVo);

    void receivedPurchase(List<Long> purchaseIdList);

    void finishPurchase(PurchaseDoneVo doneVo);
}

